package cn.heiliu.selenium.domain;

import lombok.Getter;

/**
 * url访问结果
 * @author wangyelou
 * @date 2021/6/14
 */
@Getter
public class WebDriverGetResult {

    /**
     * 页面内容
     */
    private byte[] content;

    /**
     * 下载文件路径
     */
    private String downFilePath;

    /**
     * 是否是下载文件
     */
    private boolean isDownFile;

    /**
     * 耗时
     */
    private long used;

    public WebDriverGetResult(byte[] content, String downFilePath, boolean isDownFile, long used) {
        this.content = content;
        this.downFilePath = downFilePath;
        this.isDownFile = isDownFile;
        this.used = used;
    }
}
